from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

import config.settings as settings

urlpatterns = patterns('',
    url(r'^admin/',
        include(admin.site.urls)),
    url(r'^media/(?P<path>.*)$',
        'django.views.static.serve',
        {'document_root': settings.MEDIA_ROOT, 'show_indexes':settings.DEBUG}),
    url(r'^',
        include('print_request.urls', namespace='print_request'),
        name='home'),
  )
